<{include file="in_header.tpl"}>


    <!--第一行(导航|轮播)-->
    <div class="row-fluid">
        <div class="span12">

            <!--首页导航结束 轮播图开始 -->
            <{if !empty($bookhot3)}>
            <div class="carousel slide" id="carousel-798909">
                <!--轮播图的圆点 -->
                <ol class="carousel-indicators">
                    <{foreach from=$bookhot3 item=v name=foo }>
                    <li <{if $smarty.foreach.foo.index==0}>class="active"<{/if}> data-slide-to="<{$smarty.foreach.foo.index}>" data-target="#carousel-798909">
                    </li>
                    <{/foreach}>
                </ol>
                <!--轮播图的图片 -->
                <div class="carousel-inner">
                    <{foreach from=$bookhot3 item=v name=foo}>
                    <div class="item <{if $smarty.foreach.foo.index==0}>active<{/if}>">
                        <img alt="" src="<{$v.img_url}>" />
                        <div class="carousel-caption">
                            <h4>
                                <{$v.book_name}>
                            </h4>
                            <p>
                                <{$v.book_name}>
                            </p>
                        </div>
                    </div>
                    <{/foreach}>
                </div>
                <!--轮播图的左右标 -->
                <a data-slide="prev" href="#carousel-798909" class="left carousel-control">‹</a> <a data-slide="next" href="#carousel-798909" class="right carousel-control">›</a>
            </div>
            <{/if}>
            <!--轮播图结束-->
        </div>
    </div>

    <!--第三行 推荐A-->
    <div class="row-fluid">
        <div class="span12">
            <!--引用块-->
            <blockquote>
                <p>
                    最受关注图书榜.
                </p>
            </blockquote>
            <!--预览列表-->
            <ul class="thumbnails">
                <{foreach from=$bookhot1 item=v name=foo1}>

                    <{if $smarty.foreach.foo1.index %4==0}>
                        </ul>
                        <!-- 每5条一个-->
                        <ul class="thumbnails">
                    <{/if}>
                    <li class="span3">
                        <div class="thumbnail">
                            <img alt="200x300" src="<{$v.img_url}>" />
                            <div class="caption">
                                <h3>
                                    <{$v.book_name}>
                                </h3>
                                <p>
                                    <{$v.book_name}>
                                </p>
                                <!--p>
                                    <a class="btn btn-primary" href="#">浏览</a> <a class="btn" href="#">分享</a>
                                </p-->
                            </div>
                        </div>
                    </li>
                <{/foreach}>
            </ul>
        </div>
    </div>

    <!-- 第4行 -->
    <div class="row-fluid">
        <div class="span12">
            <p class="text-center muted">
                <em>dibook.cn&nbsp;</em><strong>点书网</strong>&nbsp;粤ICP备16079371号
            </p>
        </div>
    </div>

<{include file="in_footer.tpl"}>